<template>
    <div>
        <el-container>
            <el-header>
                <CommonHeader></CommonHeader>
            </el-header>
            <el-main>
                <router-view></router-view>
            </el-main>
        </el-container>
    </div>
</template>
<script>
import CommonHeader from '../components/CommonHeader'
export default {
    name: 'Main',
    components: {CommonHeader },
    data() {
        return {
            str: '点击登录'
        }
    }
}  
</script>
<style scoped>
.el-header{
    padding: 0px;
}
.el-main{
    padding: 0px;
}
</style>